package com.qingcheng.dao;

import com.qingcheng.pojo.goods.Brand;
import com.qingcheng.pojo.goods.StockBack;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface StockBackMapper extends Mapper<StockBack> {


    @Update("update tb_stock_back set status = '1' where order_id=#{orderId} and sku_id = #{skuId}")
    public int updateStatus(@Param("orderId") String orderId,@Param("skuId") String skuId);

}
